package com.wangzhen.codebase.apidemo;

import java.util.concurrent.CopyOnWriteArrayList;

public class CopyOnWriteArrayListDemo {

    public static void main(String[] args) {

        CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<>();
        list.add("zhangsan");
        list.add("lisi");
        list.add("wangwu");


        list.remove("wangwu");
    }

}
